ConnectionStateChange

data class ConnectionStateChange(oldState: ConnectionState, newState: ConnectionState)

A connection state change indicates a change in the SyncSession's underlying connection state.

See also

Constructors

ConnectionStateChange
Link copied to clipboard
fun ConnectionStateChange(oldState: ConnectionState, newState: ConnectionState)

Properties

newState
Link copied to clipboard
val newState: ConnectionState
the sync session's new connection state.
oldState
Link copied to clipboard
val oldState: ConnectionState
the sync session's old connection state.